#!/usr/bin/ksh -l
#
#==>  WAM post-processing pnetcdf
#
#     Arno Behrens (March 2014)
#
#PBS -q xc_normal
#PBS -l select=1
#PBS -l place=pack
#PBS -l walltime=00:02:00
#PBS -j oe
#PBS -N Pnetcdf
#
set -k
WAMDIR=/e/uhome/gkssbeh/WAM
WORK=/e/uhome/gkssbeh/WAM/workdir
cd ${WORK}/tempsg
#
cp ${WAMDIR}/const/Fine_2/nlnetcdf NETCDF_User
cp ${WAMDIR}/abs/pnetcdf pnetcdf.exe
#
./pnetcdf.exe
mv pnetcdf_prot ${WAMDIR}/dayfiles/pnetcdf_prot_f2
mv WAVE* ..
rm NETCDF_User pnetcdf.exe
#
# ===================================================================
#  NETCDF FILES HAVE BEEN CREATED AND SAVED.
#  END OF JOB PNETCDF.
# ===================================================================
#
